package dp.ua.epic.urlcoding;

import dp.ua.epic.urlcoding.NonVersionedHybridUrlCodingStrategy;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.wicketstuff.annotation.mount.MountDefinition;

/**
 *
 * @author Artem Kozlov
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@MountDefinition(strategyClass = NonVersionedHybridUrlCodingStrategy.class, argOrder = {"redirectOnBookmarkableRequest"})
@Inherited
@Documented
public @interface MountNonVersionedHybrid {

    /**
     * @return redirectOnBookmarkableRequest constructor parameter.  Default is true.
     */
    boolean redirectOnBookmarkableRequest() default true;
}